
import { WeaLocaleProvider } from "ecCom";
const getLabel = WeaLocaleProvider.getLabel;
export const repairDays = () => [
  {
    showname: getLabel(527048,'不限'),
    key: '0'
  },
  {
    showname: '1' + getLabel(389054,'天内'),
    key: '1'
  },
  {
    showname: '3' + getLabel(389054,'天内'),
    key: '3'
  },
  {
    showname: '7' + getLabel(389054,'天内'),
    key: '7'
  },
  {
    showname: getLabel('502465', '自定义'),
    key: 'custom'
  },
];

export const repairWeeks = () => [
  {
    showname: getLabel(527048,'不限'),
    key: '0'
  },
  {
    showname: '1' + getLabel(519978,'周内'),
    key: '1'
  },
  {
    showname: '2' + getLabel(519978,'周内'),
    key: '2'
  },
  {
    showname: '4' + getLabel(519978,'周内'),
    key: '4'
  },
  {
    showname: getLabel('502465', '自定义'),
    key: 'custom'
  },
];

export const repairDayTypes = () => {
  return [
    {
      showname: getLabel('385538', '工作日'),
      key: '0'
    },
    {
      showname: getLabel('390048', '自然日'),
      key: '1'
    }
  ]
};